package cn.bfay.lion.jingdong.client.rsp;

import lombok.Data;

import java.util.List;

/**
 * 商品促销.
 *
 * @author wangjiannan
 */
@Data
public class JdProductPromotionRsp {
    /**
     * skuid.
     */
    private String skuid;
    /**
     * price.
     */
    private Double price;
    /**
     * plus discount.
     */
    private Double discount;

    private List<JdProductPromotion> jdProductPromotions;

    @Data
    public static class JdProductPromotion {
        /**
         * needMoney.
         */
        private Double needMoney;
        /**
         * rewardMoney.
         */
        private Double rewardMoney;
        /**
         * needNum.
         */
        private Double needNum;
        /**
         * rebate.
         */
        private Double rebate;
        /**
         * 自己添加.
         */
        private Double promotion;
        /**
         * 自己添加:0-无促销；1-每满减钱促销;2-满减钱促销；3-满件折扣促销；4-满钱折扣促销.
         */
        private Integer type;
    }
}